package net.lainiao.zhihu.dao;

import net.lainiao.zhihu.common.MyPage;
import net.lainiao.zhihu.model.Zhihuwenti;
import net.lainiao.zhihu.model.ZhihuwentiWithBLOBs;

import java.util.List;

public interface ZhihuwentiMapper {
    int deleteByPrimaryKey(String id);

    int insert(ZhihuwentiWithBLOBs record);

    int insertSelective(ZhihuwentiWithBLOBs record);

    ZhihuwentiWithBLOBs selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(ZhihuwentiWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(ZhihuwentiWithBLOBs record);

    int updateByPrimaryKey(Zhihuwenti record);

    List<ZhihuwentiWithBLOBs> getListByhuatiIdPage(MyPage myPage);
}